package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;


/**
 * 
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-11-02 15:23:03
 */
@Entity
public class DMaterialModelEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	private String guid;
	//类型
	private String type;
	//名称
	private String name;
	//适用范围(0:系统。1:自己)
	private Integer range;
	//详情
	private String content;
	//数据状态
	private String datastate;
	//创建人
	private Long createId;

	@Generated(hash = 184472328)
	public DMaterialModelEntity(String guid, String type, String name,
			Integer range, String content, String datastate, Long createId) {
		this.guid = guid;
		this.type = type;
		this.name = name;
		this.range = range;
		this.content = content;
		this.datastate = datastate;
		this.createId = createId;
	}
	@Generated(hash = 1773751754)
	public DMaterialModelEntity() {
	}

	/**
	 * 设置：主键
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：主键
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：类型
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：适用范围(0:系统。1:自己)
	 */
	public void setRange(Integer range) {
		this.range = range;
	}
	/**
	 * 获取：适用范围(0:系统。1:自己)
	 */
	public Integer getRange() {
		return range;
	}
	/**
	 * 设置：详情
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：详情
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：数据状态
	 */
	public void setDatastate(String datastate) {
		this.datastate = datastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getDatastate() {
		return datastate;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	/**
	 * 获取：创建人
	 */
	public Long getCreateId() {
		return createId;
	}
}
